/**
 * 注册全局插件
 */
import PageTools from './PageTools/index.vue'
import UploadExcel from '@/components/UploadExcel'
import UploadImg from './UploadImg/index'
import ScreenFull from '@/components/ScreenFull'
// import Lang from '@/components/Lang'
import Lang from './Lang'

const cps = [PageTools, UploadExcel, UploadImg, ScreenFull, Lang]

export default {
  install (Vue) {
    // Vue.component('PageTools', PageTools)
    // Vue.component('UploadExcel', UploadExcel)
    cps.forEach(item => {
      Vue.component(item.name, item)
    })
  }
}
